import { createRouter, createWebHistory } from 'vue-router'

const Register = () => import('../views/Register.vue')
const Login = () => import('../views/Login.vue')
const Profile = () => import('../views/Profile.vue')
const PasswordReset = () => import('../views/PasswordReset.vue')
const AuthWizard = () => import('../views/AuthWizard.vue')

const routes = [
  { path: '/', redirect: '/auth' },
  { path: '/auth', name: 'AuthWizard', component: AuthWizard },
  { path: '/register', name: 'Register', component: Register },
  { path: '/login', name: 'Login', component: Login },
  { path: '/profile', name: 'Profile', component: Profile },
  { path: '/reset-password', name: 'PasswordReset', component: PasswordReset }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router 